package com.wanxi.constructor;


import com.wanxi.pack.Student;

public class MyConstructor {
    public static void main(String[] args) {
//        创建对象时，就直接调用了构造方法
//        Student student = new Student(16);
//        student.age=14;
//        System.out.println(student.age);
        Student student = new Student();


    }
}
